package com.soar.recruitment.common.ui.view.ptr;

import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;


public class RecyclerViewInit {

    /**
     * @param recycler RecyclerView
     * @param context  context
     */
    public static LinearLayoutManager init(RecyclerView recycler, Context context) {
        LinearLayoutManager layoutManager = new LinearLayoutManager(context, LinearLayoutManager.VERTICAL, false);
        recycler.setLayoutManager(layoutManager);
        return layoutManager;
    }

}
